package com.gljx.web.service;

import java.util.List;
import java.util.Map;

import com.gljx.web.Entity.CarMaintainReg;
import com.gljx.web.Entity.CarMaintainRegEntry;
import com.gljx.web.Entity.User;

public interface CarMaintainRegService {

	Map<String, Object> selectPage(int pindex, String psql, int psize);

	Map<String, Object> selectPageCount(String psql);
	
	List<CarMaintainRegEntry> queryCarMaintainRegEntry(String fparentId,String carName,String carNumber);

	void editCarMaintainReg(CarMaintainReg carMaintainReg, String[] fseq, String[] cfcarnumer, String[] cfcarid,
			String[] cfbizdate, String[] cfenddate, String[] cfamount, String[] cfremark, User user, String time);
	
	CarMaintainReg queryCarMaintainRegByFid(String fid);

    void deleteCarMaintainRegByFid(String fid, String[] deleteId, String[] fnumber, String fnumber2);

    int auditCarMaintainReg(String fid, String type, String fhandlerId, String message, String state, String fnumber);

    int modifyCarMaintainReg(CarMaintainReg carMaintainReg);

    List<CarMaintainRegEntry> selectCarMaintainRegbyInfo(String fcompanyid, String carName, String carNumber, String beginTime, String endTime);
}
